@extends('layouts.admin')
@section('content')

<div class="admin-home">
	<div class="panel panel-info">
		<div class="panel-heading">
			<h1 class="panel-title">
				<a href="{{ URL('admin') }}">
					后台首页
				</a>
			</h1>
			<div class="logout">
				<a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
	        退出
	      </a>
		    <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
		        {{ csrf_field() }}
		    </form>
			</div>
		</div>
		<div class="panel-body">

			<div id="buttons" class="col-xs-12">
				<div class="col-xs-12">
					<a href="{{ URL('admin/cocktail/aticle/list') }}" class="btn btn-lg btn-block btn-success">文章列表</a>
				</div>

				<div class="col-xs-12">
					<a href="#" class="btn btn-lg btn-block btn-info">酒系列表</a>
				</div>

				<div class="col-xs-12">
					<a href="{{ URL('admin/cocktail/search/list') }}" class="btn btn-lg btn-block btn-primary">搜索词语</a>
				</div>


			</div>

		</div>
	</div>
</div>

@stop